package operation;

import book.BookList;

public class ExitSystem  implements IOperation{
    @Override
    public void work(BookList bookList) {
        System.out.println("退出图书管理系统");
       for(int i =0;i< bookList.getUsedSize();++i) {
           bookList.setBook(i,null);
       }
        System.exit(0);
    }
}
